package groupb6.shopsystem.service;
import groupb6.shopsystem.pojo.entity.Order;
import groupb6.shopsystem.pojo.entity.Product;
import groupb6.shopsystem.pojo.entity.ShoppingBag;
import groupb6.shopsystem.pojo.form.AdmitOrderForm;
import groupb6.shopsystem.pojo.form.CustomerCartEditForm;
import groupb6.shopsystem.pojo.form.CustomerEditForm;
import groupb6.shopsystem.pojo.form.OrderIdForm;
import groupb6.shopsystem.pojo.res.ShoppingBagRes;
import groupb6.shopsystem.util.response.UniversalResponse;

import java.util.List;

public interface CustomerCartService {
    UniversalResponse<List<ShoppingBagRes>> getShoppingBag();
    UniversalResponse<?> admitOrder(List<AdmitOrderForm> admitOrderForm);
    UniversalResponse<?> payOrder(List<OrderIdForm> orderIdListForm);

    void clearCart();

    void editCart(CustomerCartEditForm customerCartEditForm);

    void cancelOrder(Integer orderId);
}
